import { SET_USER_INFO } from "./action"

const defaultValue = {
  userId: '01',
}

const user = (state = defaultValue, action) => {
  switch (action.type) {
    case SET_USER_INFO:
      return { ...action.payload }
    default:
      return state
  }
}

export default user;
